package com.bj58.mis.apm.server.core.receiver;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class BaseCollectLog {

    public abstract String getCollectType();

    @Column(columnDefinition = "varchar(20) comment '系统名称'")
    private String appName;
    @Column(columnDefinition = "varchar(60) comment '节点机器标示'")
    private String hostName;
    @Column(columnDefinition = "bigint(20) comment '日志采集时间'")
    private Long collectTime;

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public Long getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(Long collectTime) {
        this.collectTime = collectTime;
    }
}
